Uses of Interface
org.apache.torque.oid.IdGenerator

Packages that use IdGenerator
org.apache.torque Torque is an object-relational mapper for Java. 
org.apache.torque.map Description of the schema layout. 
org.apache.torque.oid The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs". 
 

Uses of IdGenerator in org.apache.torque
 

Methods in org.apache.torque that return IdGenerator
 IdGenerator Database.getIdGenerator(java.lang.String type)
          Returns the IdGenerator of the given type for this Database.
 

Methods in org.apache.torque with parameters of type IdGenerator
 void Database.addIdGenerator(java.lang.String type, IdGenerator idGen)
          Adds an IdGenerator to the database.
 

Uses of IdGenerator in org.apache.torque.map
 

Methods in org.apache.torque.map that return IdGenerator
 IdGenerator TableMap.getIdGenerator()
          Deprecated. use DatabaseInfo.getIdGenerator(getPrimaryKeyMethod()) instead. Will be removed in a future version of Torque.
 IdGenerator DatabaseMap.getIdGenerator(java.lang.String type)
          Deprecated. use DatabaseInfo.getIdGenerator() instead. Will be removed in a future version of Torque.
 

Methods in org.apache.torque.map with parameters of type IdGenerator
 void DatabaseMap.addIdGenerator(java.lang.String type, IdGenerator idGen)
          Deprecated. use DatabaseInfo.addGenerator() instead. Will be removed in a future version of Torque.
 

Uses of IdGenerator in org.apache.torque.oid
 

Classes in org.apache.torque.oid that implement IdGenerator
 class AutoIncrementIdGenerator
          This generator works with databases that have an sql syntax that allows the retrieval of the last id used to insert a row for a Connection.
 class IDBroker
          This method of ID generation is used to ensure that code is more database independent.
 class SequenceIdGenerator
          This generator works with databases that have an sql syntax for getting an id prior to inserting a row into the database.
 

Methods in org.apache.torque.oid that return IdGenerator
static IdGenerator IDGeneratorFactory.create(DB dbAdapter, java.lang.String name)
          Factory method which instantiates IdGenerator implementations based on the return value of the provided adapter's DB.getIDMethodType() method.
 



Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.